<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>后台管理模板</title>

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico">
    <link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/css/animate.css" rel="stylesheet">
    <link href="/css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg fixed-nav" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <span ><img alt="image" th:src="@{/img/school.png}" width="100px" height="100px"/></span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold"></strong></span>
                                <span class="text-muted text-xs block">管理员<b class="caret"></b></span>
                                </span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a class="J_menuItem" href="">修改密码</a>
                            </li>
                            <li><a th:href="@{/logout}">安全退出</a></li>
                        </ul>
                    </div>
                    <div class="logo-element">MVC
                    </div>
                </li>
                <li>
                    <a href="/tindex">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">首页</span>
                        <span class="fa arrow"></span>
                    </a>
                </li>
                <li>
                    <a href="/allUser">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">所有用户列表</span>
                        <span class="fa arrow"></span>
                    </a>
                </li>
                <li>
                    <a href="/punch_in_record">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">打卡记录查询</span>
                        <span class="fa arrow"></span>
                    </a>
                </li>
                <li class="active">
                    <a href="/multiple_conditions">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">用户多条件查询</span>
                        <span class="fa arrow"></span>
                    </a>
                </li>
                <li>
                    <a href="/high_risk">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">高危地区管理</span>
                        <span class="fa arrow"></span>
                    </a>
                </li>

            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-fixed-top" role="navigation" style="margin-bottom: 0 ;background:#345f73">
                <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                    <form role="search" class="navbar-form-custom" method="post" action="search_results.html">
                        <div class="form-group">
                            <input type="text" style=" color:#FFF; font-size:20px" value="后台管理系统" class="form-control" disabled="disabled" name="top-search" id="top-search">

                        </div>
                    </form>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li class="dropdown hidden-xs">
                        <a  th:href="@{/logout}" class="right-sidebar-toggle" aria-expanded="false">
                            <i class="fa fa fa-sign-out"></i>安全退出
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
        <div class="row content-tabs">
            <a href="#" class="roll-nav roll-right J_tabExit" id="alarm-fullscreen-toggler"><i class="fa fa-arrows-alt"></i> 全屏</a>
        </div>
        <div class="row J_mainContent" id="content-main">
             <form action="/user_multiple" method="post">
                 用户名：<input type="text" name="user_name">
                 连续打卡:<input type="text" name="consecutive_day">
                 用户角色:<input type="text" name="role">
                 <input type="submit" th:value="收索">
             </form>
            <table class="table table-striped">
                <thead>
                <th>学号</th>
                <th>姓名</th>
                <th>手机号</th>
                <th>身份证号</th>
                <th>角色</th>
                <th>户籍</th>
                <th>是否打卡</th>
                <th>连续打卡天数</th>
                </thead>
                <tbody>
                <tr th:each="st:${users}">
                    <td th:text="${st.getUserId()}"></td>
                    <td th:text="${st.getUserName()}"></td>
                    <td th:text="${st.getPhone()}"></td>
                    <td th:text="${st.getIdCode()}"></td>
                    <td th:text="${st.getRole()}"></td>
                    <td th:text="${st.getNativePlace()}"></td>
                    <td th:text="${st.getIf_clock()}"></td>
                    <th th:text="${st.getConsecutiveDay()}"></th>
                    </tr>
                </tbody>
            </table>
        </div>

        </div>
        <div class="footer">
            <div class="pull-right">&copy; 2021 <a href="#" target="_blank">东莞理工学院</a>
            </div>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/quanping.js"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="js/plugins/layer/layer.min.js"></script>

<!-- 自定义js -->
<script src="js/hplus.js?v=4.1.0"></script>
<script type="text/javascript" src="js/contabs.js"></script>

<!-- 第三方插件 -->
<script src="js/plugins/pace/pace.min.js"></script>

</body>

</html>
